home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
TCL1
/
CTRACE2_
/
CLOGLIST.H
< prev
next >
Wrap
Text File
|
1990-12-10
|
775b
|
27 lines
/*****
from CTRACE: A MESSAGE LOGGING CLASS
by William D. Cramer in Dr. Dobbs Journal #170, p. 44-55, 116-120.
*****/
/** CLogList.h -- Definitions for a LogList object. **/
#define _H_CLogList
#include <CList.h> /* definitions for superclass */
#include <oops.h> /* standard OOP definitions */
#include <string.h> /* miscellaneous string definitions */
#define MAX_LOGREC_CHAR (200L) /* size of longest entry (inc NULL) */
struct CLogList : CList
{
/* internal instance data */
short maxRec; /* maximum number of records */
/* local class methods */
void ILogList (short records);
void AddString (char *theString);
void GetString (short which, char *theString);
short GetMaxRecordCount (void);
/* inherited methods overriden */
void Dispose (void);
};